import request from '@/utils/request'
/**
 *
 * @returns
 * 轮播图
 */
export const findBanner = () => {
  return request('/home/banner', 'get')
}
/**
 * @returns
 * 首页新鲜好物
 */
export const findNew = () => {
  return request('home/new', 'get')
}
/**
 *人气推荐
 *
*/
export const findHot = () => {
  return request('home/hot', 'get')
}
/**
 * 获取热门品牌,limit获取的数量
*/
export const getAllbrand = (limit) => {
  return request('/home/brand', 'get', { limit })
}
/**
 * 商品区域
*/
export const findGoods = () => {
  return request('home/goods', 'get')
}
